package com.ctshk.rpc.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * t_user
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_user")
@ApiModel(value="User对象", description="C端用户信息表")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="联系人手机区号id")
    private Long contactMobileAreaCodeId;

    @ApiModelProperty(value="联系人手机区号")
    private String contactMobileAreaCode;

    @ApiModelProperty(value="联络电话")
    private String contactNumber;

    @ApiModelProperty(value="用户账号")
    private String userAccount;

    @ApiModelProperty(value="密码")
    private String password;

    @ApiModelProperty(value="是否星赏会会员")
    private Integer isInternalMember;

    @ApiModelProperty(value="是否接收消息推送")
    private Integer receiveOrNot;

    @ApiModelProperty(value="英文姓")
    private String enSurname;

    @ApiModelProperty(value="英文名")
    private String enName;

    @ApiModelProperty(value="英文全名")
    private String enFullname;

    @ApiModelProperty(value="称谓")
    private Integer appellation;

    @ApiModelProperty(value="出生日期")
    private LocalDate birthday;

    @ApiModelProperty(value="电邮")
    private String email;

    @ApiModelProperty(value="会员编码")
    private String memberCode;

    @ApiModelProperty(value="星赏会会员编号")
    private String memberId;

    @ApiModelProperty(value="会员等级")
    private Integer memberLevel;

    @ApiModelProperty(value="升级积分（还需要多少积分升级）")
    private Integer upgradePoints;

    @ApiModelProperty(value="消费次数（还需消费多少次升级）")
    private Integer consumptionTimes;

    @ApiModelProperty(value="会员生效日期")
    private LocalDate memberDate;

    @ApiModelProperty(value="创建人")
    private Long createId;

    @ApiModelProperty(value="修改人")
    private Long modifiedId;

    @ApiModelProperty(value="删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value="会员积分")
    private Integer memberPoints;
}